<?php
namespace Api\Controller;
use Think\Controller;
class WareController extends CommonController {
    public function _initialize(){
		
	}
	
	public function add(){
		$typenum = I('get.typenum');
		
		$Subtype = M('Subtype');
		
		$list = $Subtype->where("typenum={$typenum}")->select();
		
		$this->response( true , 0 , $list , true);
	}
}
